<?php
class Noaccess extends CI_Controller {

	public function __construct()
	{
		parent::__construct();
		$this->load->model('news_model');
		$this->load->model('project_model');
		$this->load->model('jedalnicek_model');
		$this->load->model('register_pacient_model');
		$this->load->model('register_personal_model');
		$this->load->model('auth_model');
		$this->load->model('dieta_model');
		$this->load->model('Zobrazjedlo_model');
	}
	
	public function index()
	{	
		$data['title'] = "NIS - Neoprávnený prístup";
		
		$this->load->view('templates/header', $data);
		$this->load->view('project/noaccess_view', $data); 	
		$this->load->view('templates/footer');
	}
}